package cn.shenxingbang.chatroom.service.intf;

import cn.shenxingbang.chatroom.entity.UserChat;

import java.util.List;
import java.util.Optional;

public interface UserService {

    UserChat getById(int id);

    List<UserChat> findAllUser();

    UserChat insert(UserChat userChat);

    UserChat update(UserChat userChat);

    void deleteById(int id);

}
